From: Keir Fraser Date: Tue, 14 Jul 2009 13:46:04 +0000 (+0100) Subject: stubdom: fix stubdom-dm error path X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13603 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=c55d78193fd0615f37658fe1360af6332a127354;p=xen.git stubdom: fix stubdom-dm error path Exit the shell and not a subshell. Signed-off-by: Christoph Egger --- diff --git a/stubdom/stubdom-dm b/stubdom/stubdom-dm index c138e00945..8faca31843 100644 --- a/stubdom/stubdom-dm +++ b/stubdom/stubdom-dm @@ -74,8 +74,8 @@ do shift done -[ -z "$domid" ] && ( echo "couldn't find domain ID" ; exit 1 ) -[ -z "$domname" ] && ( echo "couldn't find domain name" ; exit 1 ) +[ -z "$domid" ] && { echo "couldn't find domain ID" ; exit 1; } +[ -z "$domname" ] && { echo "couldn't find domain name" ; exit 1; } # Termination handler